package com.wkg.lotterysystem.service;


import com.wkg.lotterysystem.controller.param.CreatePrizeParam;
import com.wkg.lotterysystem.controller.param.PageParam;
import com.wkg.lotterysystem.service.dto.PageListDTO;
import com.wkg.lotterysystem.service.dto.PrizeDTO;
import jakarta.validation.Valid;
import org.springframework.web.multipart.MultipartFile;

public interface PrizeService {

    /**
     * 创建单个奖品
     *
     * @param param
     * @param prizePic
     * @return
     */
    Integer createPeize(@Valid CreatePrizeParam param, MultipartFile prizePic);

    /**
     * 分页查询
     *
     * @param param
     * @return
     */
    PageListDTO<PrizeDTO> findPrizeList(PageParam param);
}
